package com.ruoyi.stuclient.service;

import com.github.yulichang.base.MPJBaseService;
import com.ruoyi.stuclient.domain.EwcStudent;
import com.ruoyi.stuclient.domain.dto.SMSGetDto;
import com.ruoyi.stuclient.domain.dto.StudentResetPwdDto;
import com.ruoyi.stuclient.domain.vo.StudentLoginVo;

import javax.validation.Valid;
import javax.validation.constraints.NotBlank;


/**
 * 学生信息Service接口
 * 
 * @author lcj
 * @date 2025-02-27
 */
public interface IEwcStudentService extends MPJBaseService<EwcStudent> {

    boolean resetLoginPassword(StudentResetPwdDto studentResetPwdDto, String newPassword);

    EwcStudent getStudentInfoByStudentNo(@NotBlank(message = "学号不能为空") String studentNo);

    String getClientMobileNo(@Valid SMSGetDto smsGetDto);

    StudentLoginVo getLoginInfoByStudentNo(String studentNo);

    EwcStudent getStudentSettingInfo();

    boolean resetStudentSettingInfo(EwcStudent studentInfo);
}
